package cn.com.nes.site.entity.em;

public enum StandardDataItemEnum {
    // 开关机
    SDI1("", "开关机", "a350", "template_350", null),
    // 开关机控制-开机
    SDI1_1("01_01", "开机指令", "", "", "SDI1"),
    // 开关机控制-关机
    SDI1_2("01_02", "关机指令", "", "", "SDI1"),
    // 模式 02_
    SDI2("02_", "运行模式", "a351", "template_351", "STD3"),
    SDI2_1("02_", "运行模式控制", "", "", ""),

    // 设定温度03_XX
    SDI3("03_XX", "设定温度", "", "", null),
    //select * from is_data_item_template_info where field_name='a419'
    //SDI3_0("0300", "设定温度", "a352", "template_352", null),
    /*
    //
    SDI3_2("03_02", "制热设定温度", "a415", "template_12265115674536921759224686393746597", null),
    //
    SDI3_1("03_01", "制冷设定温度", "a417", "template_12265139300845591759224685295719172", null),
    //
    SDI3_3("03_03", "热水设定温度", "a480", "template_12624948623676529759229711015544646", null),
    //
    SDI3_4("03_04", "水箱设定温度", "a419", "template_12265169004102175759224686394043969", null),
     */
    // 进水温度
    SDI4("", "进水温度", "a189", "template_189", null),
    // 出水温度
    SDI5("", "出水温度", "a142", "template_142", null),
    // 排气温度
    SDI6("", "排气温度", "a161", "template_161", null),
    // 吸气温度
    SDI7("", "吸气温度", "a153", "template_153", null),
    SDI8("", "室外环境温度", "a157", "template_157", null),
    SDI9("", "室内环境温度", "a647", "template_13128311307124059759222721108132621", null),
    ;

    private final String code;
    private final String name;
    private final String field;
    private final String templateId;
    private final String parentStandardDataItem;


    StandardDataItemEnum(String code, String name, String field, String templateId, String parentStandardDataItem) {
        this.code = code;
        this.name = name;
        this.field = field;
        this.templateId = templateId;
        this.parentStandardDataItem = parentStandardDataItem;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getField() {
        return field;
    }

    public String getParentStandardDataItem() {
        return parentStandardDataItem;
    }

    public String getTemplateId() {
        return templateId;
    }
}
